tools: xenalyze: kill spurious sched_switch output in non dump mode.
authorDario Faggioli <dario.faggioli@citrix.com>
Thu, 4 Aug 2016 08:59:03 +0000 (10:59 +0200)
committerGeorge Dunlap <george.dunlap@citrix.com>
Mon, 8 Aug 2016 09:40:38 +0000 (10:40 +0100)
commit72798298c751a3df21473a0d86d05ec7bb46e258
treed3edb5052a2b2cea5e0ff6882a255e51c3f311f6
parent7fb0a87d97201f9c3639f85615eacd93110dc1c5
tools: xenalyze: kill spurious sched_switch output in non dump mode.

In fact, 52cf096df7 ("xenalyze: handle scheduling event"),
when dealing with TRC_SCHED_SWITCH, forgot to check whether
we actually are in dump mode, causing the printf() in
dump_sched_switch() to always produce its output, which
is not what we want.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
tools/xentrace/xenalyze.c